﻿using System.ComponentModel;

namespace QMERP.Domain.Dtos
{
    public class TransferLensOrderDetailResponse
    {
        public long Id { get; set; }
        /// <summary>
        /// 转换片数
        /// </summary>
        public int Qty { get; set; }
        /// <summary>
        /// 出库片数
        /// </summary>
        public int LeaveStockQty { get; set; }
        /// <summary>
        /// 入库片数
        /// </summary>
        public int EnterStockQty { get; set; }

        /// <summary>
        /// 镜种转换单Id
        /// </summary>
        public long TransferLensOrderId { get; set; }
        /// <summary>
        /// 转出仓库Id
        /// </summary>
        public long OutWarehouseId { get; set; }
        /// <summary>
        /// 转出镜种Id
        /// </summary>
        public long OutLensId { get; set; }
        /// <summary>
        /// 转入仓库Id
        /// </summary>
        public long InWarehouseId { get; set; }
        /// <summary>
        /// 转入镜种Id
        /// </summary>
        public long InLensId { get; set; }

        public WarehouseResponse OutWarehouse { get; set; } = new();
        public LensResponse OutLens { get; set; } = new();
        public WarehouseResponse InWarehouse { get; set; } = new();
        public LensResponse InLens { get; set; } = new();
        public List<LensDetailResponse> LensDetails { get; set; } = new();
    }
}
